package common

type BaseError struct {
	Desc string
}

func (myErr BaseError) Error() string {
	return myErr.Desc
}

func NewError(desc string) *BaseError {
	return &BaseError{Desc:desc}
}